Ionic Capacitor Build for Apps

您所在的位置:网站首页 capacitor ionic Ionic Capacitor Build for Apps

Ionic Capacitor Build for Apps

#Ionic Capacitor Build for Apps| 来源: 网络整理| 查看: 265

ionic capacitor build

Build an Ionic project for a given platform

$ ionic capacitor build [platform] [options]

ionic capacitor build will do the following:

Perform ionic buildCopy web assets into the specified native platformOpen the IDE for your native project (Xcode for iOS, Android Studio for Android)

Once the web assets and configuration are copied into your native project, you can build your app using the native IDE. Unfortunately, programmatically building the native project is not yet supported.

To configure your native project, see the common configuration docs as well as low-level configuration for iOS and Android.

platform​

The platform to build for (e.g. android, ios)

Options​--no-build: Do not invoke Ionic build --no-open: Do not invoke Capacitor open --prod: Flag to use the production configuration Advanced Options​--configuration=: Specify the configuration to use (or -c) --source-map: Output source maps --watch: Rebuild when files change Examples​$ ionic capacitor build $ ionic capacitor build android$ ionic capacitor build ios


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3